package com.dm.cloud.auth.feign.service.impl;

import com.dm.cloud.auth.common.dto.AuthDwDTO;
import com.dm.cloud.auth.common.request.AuthDwPageSearch;
import com.dm.cloud.auth.feign.service.AuthDwFeign;
import com.dm.cloud.core.mode.PageList;
import com.dm.cloud.core.mode.ResultModel;
import com.dm.cloud.core.mode.SearchRequestPage;

import java.util.List;

public class AuthDwFeignImpl implements AuthDwFeign {
    @Override
    public ResultModel<PageList<AuthDwDTO>> pageList(SearchRequestPage<AuthDwPageSearch> param) {
        return ResultModel.err(500,"认证服务连接失败");
    }

    @Override
    public ResultModel<AuthDwDTO> detail(String id) {
        return ResultModel.err(500,"认证服务连接失败");
    }

    @Override
    public ResultModel insert(AuthDwDTO dto) {
        return ResultModel.err(500,"认证服务连接失败");
    }

    @Override
    public ResultModel update(AuthDwDTO dto) {
        return ResultModel.err(500,"认证服务连接失败");
    }

    @Override
    public ResultModel deleteById(String id) {
        return ResultModel.err(500,"认证服务连接失败");
    }

    @Override
    public ResultModel<Integer> deleteBatchIds(List<String> ids) {
        return ResultModel.err(500,"认证服务连接失败");
    }

    @Override
    public ResultModel<List<AuthDwDTO>> idsList(List<String> ids) {
        return ResultModel.err(500,"认证服务连接失败");
    }
}
